using FluentValidation;
using Gateway.IApplication.Validation;

namespace Gateway.IApplication.BaseInput.Validation;
/// <summary>
/// 
/// </summary>
public class RemoveValidation : AbstractValidator<RemoveInput>,IFluentValidation
{
    /// <summary>
    /// 
    /// </summary>
    public RemoveValidation()
    {
        RuleFor(x => x.Id).NotEmpty().WithMessage("标识不能为空");
    }
}